//
//  INFSWA02AppDelegate.m
//  INFSWA02
//
//  Created by Chris Kievit on 07-09-11.
//  Copyright 2011 . All rights reserved.
//

#import "INFSWA02AppDelegate.h"
#import "Gear.h"
#import "NoGear.h"
#import "Helmet.h"
#import "Faceplate.h"
#import "Board.h"
#import "Piece.h"
#import "CircularBufferController.h"

@implementation INFSWA02AppDelegate

@synthesize window = _window;

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    //NSLog(@"Start");
    
//    Gear *gear1 = [Helmet new];
//    
//    NSLog(@"%@", [gear1 description]);
//    
//    Gear *gear2 = [[Faceplate alloc] initWithGear:gear1];
//    
//    NSLog(@"%@", [gear2 description]);
//    
    
//    Board *board = [[Board alloc] initWithS:10];
//    [board initPlayersWithNames:@"player1" andPlayer2:@"player2"];
//    
//    Piece *p = [[Piece alloc] initWithName:@"queen" andPlayer:board.player1];
//    [p setCode:@"-Q-"];
//    
//    [[board getSquareAtLocationX:1 andY:1] setPiece:p];
//    
//    p = [[Piece alloc] initWithName:@"queen" andPlayer:board.player2];
//    [p setCode:@"-q-"];
//    [[board getSquareAtLocationX:5 andY:5] setPiece:p];
//    
//    [board print];
}

@end
